<div class="login-pannel" ms-controller="login">

    <!-- 重构-->
    <div class="container">
        <div class="lo-title">
            <img src="./src/images/logo.png" class="pull-left" alt="" width="64"/>

            <div class="text-center pull-left">
                    <span>
                        易点进销存
                    </span>
                <br/>
                    <span>
                        chest.tansuyun.cn
                    </span>
            </div>
        </div>

        <div class="lo-form">
            <p>欢迎使用</p>
            <strong>易点进销存</strong>
            <hr/>

            <div ms-visible='state!="waiting"&&state!="success"'>
                <div class="item">
                    <span class="stb-tip" ms-if="loginAccFlag==1">{{login_acctip}} </span>
                    <input type="text" maxlength="50" onkeyup="cutLength(this)" id="account" ms-duplex="login_account"
                           ms-on-input="verifyLoginName()" ms-on-keydown="clearPwd" placeholder="用户名">


                </div>

                <div class="item">
                    <span class="stb-tip" ms-if="loginPwdFlag==1">{{login_pwdtip}} </span>
                    <input type="password" id="pwd" ms-duplex="login_pwd" ms-on-input="verifyLoginPwd()" placeholder="密码">
                </div>

                <div >
                    <button class="btn  btn-info pull-left" ms-click="login">登陆</button>
                    <button class="btn  btn-default pull-right" ms-click="reset">取消</button>
                </div>
            </div>
            <div ms-visible='state=="waiting"'>
                <i class="icon-spinner icon-spin icon-5x"></i>
            </div>
            <div ms-visible='state=="success"' class="text-success">
                <i class="icon-ok-sign icon-5x"></i>
            </div>


        </div>


        
    </div>
    <div class="text-center">

        <img src="./src/images/home-bg.png" alt="" style="width: 90%;margin-left: auto;margin-right: auto;margin-top: 30px"/>
    </div>

</div>
